package com.company;

public class TestSyncTest {
    public static void main(String[] args) {
        TestSync testSync = new TestSync();
        Thread thread = new Thread(testSync);
        Thread thread1 = new Thread(testSync);
        thread.setName("thread");
        thread.start();
        thread1.setName("thread1");
        thread1.start();
    }
}
